package org.dromara.system.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import org.apache.ibatis.annotations.Param;
import org.dromara.common.mybatis.core.mapper.BaseMapperPlus;
import org.dromara.system.domain.SimUserPurseRecords;
import org.dromara.system.domain.bo.SimUserPurseRecordsBo;
import org.dromara.system.domain.vo.SimUserPurseRecordsVo;

import java.math.BigDecimal;

/**
 * 用户钱包记录Mapper接口
 *
 * @author Lion Li
 * @date 2025-08-15
 */
public interface SimUserPurseRecordsMapper extends BaseMapperPlus<SimUserPurseRecords, SimUserPurseRecordsVo> {

    IPage<SimUserPurseRecordsVo> findAll(IPage<SimUserPurseRecordsVo> page, @Param("query") SimUserPurseRecordsBo bo);

    BigDecimal queryTotalAmountByType(@Param("query") SimUserPurseRecordsBo bo);
}
